-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sql: remove fake index and statistics collectors pg_catalog tables #61794
sql: remove fake index and statistics collectors pg_catalog tables #61794
Conversation
3d0108c
to
78f16a7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how did you identify the ones to remove?
can we update the diff tool / codegen tool to ignore these unneeded tables?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I created the following issue and assigned it to myself:
#61860
Reviewable status: complete! 0 of 0 LGTMs obtained
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm after updating logic tests
Release note (sql change): Remove pg_catalog tables that were mistakenly added, notably all tables that end in _index that are not pg_catalog.pg_classes and all statistics collector tables that are not pg_stat_activity.
78f16a7
to
9fff967
Compare
TFTR |
Build succeeded: |
Release note (sql change): Remove pg_catalog tables that were mistakenly added,
notably all tables that end in _index that are not pg_catalog.pg_classes and all
statistics collector tables that are not pg_stat_activity.
Removing pg statistics collector tables since they are somewhat different from regular pg_catalog tables and it's unlikely for us to implement them. Accessing them will simply error.
pg_metadata_test.go
has not yet been updating to reflect that the _index tables should not actually be tables.